package com.bytz.modules.cms.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.bytz.modules.cms.order.entity.OrderDesignFlowRule;
import com.bytz.modules.cms.order.model.OrderDesignFlowRuleListVo;
import com.bytz.modules.cms.order.model.OrderDesignFlowRuleSaveRo;
import com.bytz.modules.cms.order.model.OrderDesignFlowRuleTestIn;
import com.bytz.modules.cms.order.model.OrderDesignFlowRuleTestOut;

/**
 * <p>
 * 莱宝CMS—订单管理-订单主表 服务类
 * </p>
 *
 * @author KyleWang
 * @since 2022-10-10
 */
public interface IOrderDesignFlowRuleService extends IService<OrderDesignFlowRule> {

    /**
     * 查询全部
     */
    OrderDesignFlowRuleListVo getAll();

    /**
     * 保存
     */
    void updateSaveObject(OrderDesignFlowRuleSaveRo saveRo);

    /**
     * 发布
     */
    void publish(OrderDesignFlowRuleSaveRo saveRo);

    /**
     * 测试
     */
    OrderDesignFlowRuleTestOut testScript(OrderDesignFlowRuleTestIn ruleTestVo) throws Exception;
}
